Package com.cisco.pt.ipc.sim.impl
Class PortKeepAliveProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.PortKeepAliveProcessImpl
- All Implemented Interfaces:
IPCObject,PortKeepAliveProcess,Process
- Direct Known Subclasses:
FrameRelayProcessImpl,PPPProcessImpl
Information provided by the PKI file:
\class PortKeepAliveProcess
\brief PortKeepAliveProcess handles the keepalive process on a device port.
\example network().getDevice("Router0").getKeepAliveProcess()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionPortKeepAliveProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetKeepAliveInterval(int interval) Information provided by the PKI file:voidsetKeepAliveOn(boolean bOn) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
PortKeepAliveProcessImpl
public PortKeepAliveProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setKeepAliveOn
public void setKeepAliveOn(boolean bOn) Information provided by the PKI file:
\Enables or disables keepalive. \param bOn, true to enable keepalive, false to disable it.- Specified by:
setKeepAliveOnin interfacePortKeepAliveProcess- Parameters:
bOn- Takes in a parameter of bOn
-
isKeepAliveOn
public boolean isKeepAliveOn()Information provided by the PKI file:
\brief Returns true if keepalive is enabled, otherwise false. \return bool, true if keepalive is enabled, otherwise false.- Specified by:
isKeepAliveOnin interfacePortKeepAliveProcess- Returns:
- boolean Returns a boolean
-
setKeepAliveInterval
public void setKeepAliveInterval(int interval) Information provided by the PKI file:
\brief Sets the keepalive interval. \param interval, the interval for keepalive.- Specified by:
setKeepAliveIntervalin interfacePortKeepAliveProcess- Parameters:
interval- Takes in a parameter of interval
-
getKeepAliveInterval
public int getKeepAliveInterval()Information provided by the PKI file:
\brief Returns the keepalive interval. \return int, the keepalive interval.- Specified by:
getKeepAliveIntervalin interfacePortKeepAliveProcess- Returns:
- int Returns a int
-